import { ButtonType } from "antd/es/button";
export interface ButtonChangePorps{
    value: string;
    key:number| string
}
export interface ButtonProp {
    buttonConfig:ButtonItem[];
    onChange:({value,key}:ButtonChangePorps) => void;
}
export interface ButtonItem {
    type?: ButtonType;
    label: string;
    danger: boolean;
    disabled: boolean 
  }
  